package com.ghj.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

@Component
public class SaltUtils {
    
    public String getSalt(){
        UUID uuid = UUID.randomUUID();
        String s = uuid.toString();
        String salt = s.replace("-", "");
        return salt;
    }
}
